<!doctype html>
<html lang="{{ app()->getLocale() }}" style="width:100%;height:100%;">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="{{ csrf_token() }}">
        <title>{{$title}}</title>
		<script>
			window.Laravel = <?php echo json_encode([
				'csrfToken' => csrf_token(),
			]); ?>
		</script>
    </head>
    <body style="margin:0;width:100%;height:100%;padding:0;border:none;">
        <div id="app" style="width:100%;height:100%;">
			<{{$component}} 
				@if(isset($key1))
					:{{$key1}}="{{$val1}}"
				@endif
				@if(isset($key2))
					:{{$key2}}="{{$val2}}"
				@endif
			></{{$component}}>
            
        </div>
        <script src="{{ asset('js/app.js') }}"></script>
    </body>
</html>